file(GLOB_RECURSE SRC_UI ${CMAKE_SOURCE_DIR} "ui/*.c")

idf_component_register(
    SRCS "cam.c"
         "main.c"   
         "image_processing.c"
         ${SRC_UI}
         "hardware/ad_key/ad_key.c"
         "hardware/ds1302/ds1302.c"
         "hardware/lodepng/lodepng.c"
    INCLUDE_DIRS "."
                 "ui"
                 "./hardware/ad_key"
                 "./hardware/ds1302"
                 "./hardware/lodepng"

)